package com.keyidea.jfxui.core.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class YamlConfig {

    @Value("${app.name}")
    private String appName;

    @Value("${app.auto-login}")
    private Boolean appAutoLogin;

    @Value("${spring.data.redis.host}")
    private String redisHost;

    @Value("${spring.data.redis.port}")
    private int redisPort;

    @Value("${spring.data.redis.password}")
    private String redisPassword;

    @Value("${core.test.udp.local-ip}")
    private String localIp;

    @Value("${core.test.udp.local-port}")
    private Integer localPort;

    @Value("${core.test.udp.remote-ip}")
    private String remoteIp;

    @Value("${core.test.udp.remote-port}")
    private Integer remotePort;

}
